Functional Diierentiation of Computer Programs
نویسنده
چکیده
We present two purely functional implementations of the computational diierentiation tools { the well known numeric (not symbolic!) techniques which permit to compute point-wise derivatives of functions deened by computer programs economically and exactly. We show how the co-recursive (lazy) algorithm formulation permits to construct in a transparent and elegant manner the entire innnite tower of derivatives of higher order for any expressions present in the program , and we present a purely functional variant of the reverse (or adjoint) mode of computational diierentiation, using a chain of delayed evaluations represented by closures. Some concrete applications are also discussed.
منابع مشابه
On the Automaticdifferentiation of Computer Programsandanapplicationtomultibody Systems
Automatic diierentiation (AD) is a methodology for developing sensitivity-enhanced versions of arbitrary computer programs. In this paper , we provide some background information on AD and address some frequently asked questions. We introduce the ADIFOR and ADIC tools for the automatic diierentiation of Fortran 77 and ANSI-C programs, respectively , and give an example of applying ADIFOR in the...
متن کاملApplication of Automatic Diierentiation to Groundwater Transport Models
Automatic diierentiation is a technique for generating eecient and reliable derivative codes from computer programs with minimal human eeort. Derivatives of model output with respect to input are obtained exactly. No intrinsic limits to program length or complexity exist for this procedure. Calculation of derivatives of complex numerical models is required in system optimization, parameter iden...
متن کاملOn the Automaticdifferentiation of Computerprogramsandanapplicationtomultibody Systemschristian
Automatic diierentiation (AD) is a methodology for developing sensitivity-enhanced versions of arbitrary computer programs. In this paper , we provide some background information on AD and address some frequently asked questions. We introduce the ADIFOR and ADIC tools for the automatic diierentiation of Fortran 77 and ANSI-C programs, respectively , and give an example of applying ADIFOR in the...
متن کاملAutomatic Diierentiation of Numerical Integration Algorithms
Automatic diierentiation (AD) is a technique for automatically augmenting computer programs with statements for the computation of derivatives. This article discusses the application of automatic diierentiation to numerical integration algorithms for ordinary diierential equations (ODEs), in particular, the ramiications of the fact that AD is applied not only to the solution of such an algorith...
متن کاملApplication of Automatic Differentiation to Groundwater Transport Models
Automatic diierentiation (AD) is a technique for generating eecient and reliable derivative codes from computer programs with a minimum of human eeort. Derivatives of model output with respect to input are obtained exactly. No intrinsic limits to program length or complexity exist for this procedure. Calculation of derivatives of complex numerical models is required in systems optimization, par...
متن کامل